/* 导航栏 start */
.navbar {
  position: relative;
  width: 100%;
  padding: 0rpx 30rpx;
  display: flex;
  
  .message {
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 36rpx;
    padding-top: 18rpx;
  }
}
/* 导航栏 end */
.message-container {
  max-height: 100vh;
  background: #f8f7f8;
}

.message-bg {
  background-color: #ffffff;
  border-radius: 18rpx;
  margin: 20rpx 30rpx;
  padding: 20rpx;

  .item-icon {
    position: relative;
    width: 90rpx;
    height: 90rpx;
    border-radius: 26%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 66rpx;
    color: #fff;
    z-index: 2;

    &::after {
      z-index: 1;
    }

    .icon {
      line-height: 1;
      z-index: 2;
    }
  }

}

// 四个角渐变底色
.message-fixed {
  position: fixed;
  // background: linear-gradient(90deg, #d8feda, #F6F6F6);
  // background: linear-gradient(90deg, #c9febf, #F6F6F6);
  background: #F6F6F6;
  top: 0;
  width: 100%;
  transition: all 0.25s ease-out;
  z-index: 100;

  /* 分类信息 start */
  .category-info {
    position: relative;
    width: calc(100% - 60rpx);
    margin: 0rpx auto;
    padding: 30rpx 0rpx;
    line-height: 1;
    transform-origin: center top;

    .item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: var(--tn-text-color-primary);
      flex: auto;

      .icon {
        color: var(--tn-color-white);
        font-size: 50rpx;
        width: 90rpx;
        height: 90rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30%;
      }

      .text {
        margin-top: 20rpx;
      }
    }
  }
  /* 分类信息 end */

}

/* 图标容器1 start */
.icon1 {
  &__item {
    width: 30%;
    background-color: #FFFFFF;
    border-radius: 10rpx;
    padding: 30rpx;
    margin: 20rpx 10rpx;
    transform: scale(1);
    transition: transform 0.3s linear;
    transform-origin: center center;

    &--icon {
      width: 100rpx;
      height: 100rpx;
      font-size: 60rpx;
      border-radius: 50%;
      margin-bottom: 18rpx;
      position: relative;
      z-index: 1;

      &::after {
        content: " ";
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        left: 0;
        bottom: 0;
        border-radius: inherit;
        opacity: 1;
        transform: scale(1, 1);
        background-size: 100% 100%;
        background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg5.png);
      }
    }
  }
}

/* 图标容器15 start */
.icon15 {
  &__item {
    width: 30%;
    background-color: #FFFFFF;
    padding: 30rpx;
    margin: 20rpx 10rpx;
    transform: scale(1);
    transition: transform 0.3s linear;
    transform-origin: center center;

    &--icon {
      width: 90rpx;
      height: 90rpx;
      font-size: 60rpx;
      border-radius: 18rpx;
      position: relative;
      z-index: 1;

      &::after {
        content: " ";
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        left: 0;
        bottom: 0;
        border-radius: inherit;
        opacity: 1;
        transform: scale(1, 1);
        background-size: 100% 100%;
      }
    }
  }
}

/* 用户头像 start */
.logo-image {
  width: 90rpx;
  height: 90rpx;
  position: relative;
}

.logo-pic {
  background-size: cover;
  background-repeat: no-repeat;
  // background-attachment:fixed;
  background-position: center;
  // border: 1rpx solid rgba(255,255,255,0.05);
  // box-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.15);
  border-radius: 18rpx;
  overflow: hidden;
  // background-color: #FFFFFF;
}

/* 底部安全边距 start*/
.tn-tabbar-height {
  min-height: 120rpx;
  height: calc(140rpx + env(safe-area-inset-bottom));
  height: calc(140rpx + constant(safe-area-inset-bottom));
}